package cn.com.lms.business.log.service;

import cn.com.lms.business.log.persistence.entity.UserActionLog;
import cn.com.lms.business.log.persistence.repository.UserActionLogRepository;


import com.bnzj.core.persistence.BaseService;
import com.bnzj.core.persistence.query.QueryHelpBean;
import org.springframework.stereotype.Service;


@Service
public class UserActionLogService extends BaseService<UserActionLogRepository, UserActionLog,Long> {


    public QueryHelpBean getQueryHelpBean() {
        String selectSQL = "select l.*";
        String whereSQL = " from bnz_sys_user_action_log l where 1=1 ";
        QueryHelpBean queryBean = new QueryHelpBean(selectSQL + whereSQL, "select count(1)" + whereSQL, UserActionLog.class);
        return queryBean;
    }
}
